package net.tngou.crawler.map;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import net.tngou.c4j.util.HttpUtil;

public class QQApi {

	public static void main(String[] args) {
		String url="http://apis.map.qq.com/jsapi";
		Map<String, String> data = new HashMap<>();
		data.put("qt", "poi");
		data.put("wd", "郸城县新华路中段");
		String jsons = HttpUtil.getString(url, data);
		JSONObject json = JSON.parseObject(jsons);
		System.err.println(json);
		
	}
}
